//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03B
TN_Widget.CreateTable([['Chris Brown','Little Caesars Arena','Detroit, MI','Wednesday','6/5/2024','7:30 PM','6304670','Chris-Brown-6-5-2024'],['Chris Brown','United Center','Chicago, IL','Friday','6/7/2024','7:30 PM','6304671','Chris-Brown-6-7-2024'],['Chris Brown','United Center','Chicago, IL','Saturday','6/8/2024','7:30 PM','6307083','Chris-Brown-6-8-2024'],['Chris Brown','Nationwide Arena','Columbus, OH','Monday','6/10/2024','8:00 PM','6304672','Chris-Brown-6-10-2024'],['Chris Brown','Prudential Center','Newark, NJ','Wednesday','6/12/2024','8:00 PM','6304673','Chris-Brown-6-12-2024'],['Chris Brown','UBS Arena','Elmont, NY','Friday','6/14/2024','8:00 PM','6304674','Chris-Brown-6-14-2024'],['Chris Brown','Barclays Center','Brooklyn, NY','Sunday','6/16/2024','8:00 PM','6304675','Chris-Brown-6-16-2024'],['Chris Brown','Barclays Center','Brooklyn, NY','Monday','6/17/2024','7:30 PM','6307755','Chris-Brown-6-17-2024'],['Chris Brown','Centre Bell','Montreal, Canada','Thursday','6/20/2024','8:00 PM','6304702','Chris-Brown-6-20-2024'],['Chris Brown','Scotiabank Arena','Toronto, Canada','Saturday','6/22/2024','8:00 PM','6304703','Chris-Brown-6-22-2024'],['Chris Brown','Scotiabank Arena','Toronto, Canada','Sunday','6/23/2024','7:30 PM','6306969','Chris-Brown-6-23-2024'],['Chris Brown','TD Garden','Boston, MA','Wednesday','6/26/2024','8:00 PM','6304676','Chris-Brown-6-26-2024'],['Chris Brown','Wells Fargo Center - PA','Philadelphia, PA','Thursday','6/27/2024','7:30 PM','6307605','Chris-Brown-6-27-2024'],['Chris Brown','Wells Fargo Center - PA','Philadelphia, PA','Saturday','6/29/2024','8:00 PM','6304677','Chris-Brown-6-29-2024'],['Chris Brown','CFG Bank Arena','Baltimore, MD','Sunday','6/30/2024','8:00 PM','6304678','Chris-Brown-6-30-2024'],['Chris Brown','Capital One Arena','Washington, DC','Tuesday','7/2/2024','7:30 PM','6308506','Chris-Brown-7-2-2024'],['Chris Brown','Capital One Arena','Washington, DC','Wednesday','7/3/2024','8:00 PM','6304679','Chris-Brown-7-3-2024'],['Chris Brown','State Farm Arena - GA','Atlanta, GA','Friday','7/5/2024','8:00 PM','6304680','Chris-Brown-7-5-2024'],['Chris Brown','State Farm Arena - GA','Atlanta, GA','Saturday','7/6/2024','7:30 PM','6306965','Chris-Brown-7-6-2024'],['Chris Brown','Hampton Coliseum','Hampton, VA','Tuesday','7/9/2024','8:00 PM','6304681','Chris-Brown-7-9-2024'],['Chris Brown','Legacy Arena at The BJCC','Birmingham, AL','Thursday','7/11/2024','7:30 PM','6304682','Chris-Brown-7-11-2024'],['Chris Brown','Kia Center','Orlando, FL','Saturday','7/13/2024','7:30 PM','6345067','Chris-Brown-7-13-2024'],['Chris Brown','State Farm Arena - GA','Atlanta, GA','Sunday','7/14/2024','7:30 PM','6308508','Chris-Brown-7-14-2024'],['Chris Brown','Toyota Center - TX','Houston, TX','Tuesday','7/16/2024','8:00 PM','6304683','Chris-Brown-7-16-2024'],['Chris Brown','Moody Center ATX','Austin, TX','Wednesday','7/17/2024','7:30 PM','6304684','Chris-Brown-7-17-2024'],['Chris Brown','Dickies Arena','Fort Worth, TX','Friday','7/19/2024','8:00 PM','6304685','Chris-Brown-7-19-2024'],['Chris Brown','Dickies Arena','Fort Worth, TX','Saturday','7/20/2024','7:30 PM','6307135','Chris-Brown-7-20-2024'],['Chris Brown','Ball Arena','Denver, CO','Tuesday','7/23/2024','8:00 PM','6304686','Chris-Brown-7-23-2024'],['Chris Brown','Climate Pledge Arena','Seattle, WA','Friday','7/26/2024','8:00 PM','6304687','Chris-Brown-7-26-2024'],['Chris Brown','Rogers Arena','Vancouver, Canada','Saturday','7/27/2024','8:00 PM','6304705','Chris-Brown-7-27-2024'],['Chris Brown','Golden 1 Center','Sacramento, CA','Tuesday','7/30/2024','8:00 PM','6304688','Chris-Brown-7-30-2024'],['Chris Brown','Oakland Arena','Oakland, CA','Wednesday','7/31/2024','8:00 PM','6304689','Chris-Brown-7-31-2024'],['Chris Brown','T-Mobile Arena','Las Vegas, NV','Saturday','8/3/2024','7:30 PM','6304690','Chris-Brown-8-3-2024'],['Chris Brown','Footprint Center','Phoenix, AZ','Sunday','8/4/2024','8:00 PM','6304691','Chris-Brown-8-4-2024'],['Chris Brown','Crypto.com Arena','Los Angeles, CA','Tuesday','8/6/2024','8:00 PM','6304700','Chris-Brown-8-6-2024'],['Chris Brown','Crypto.com Arena','Los Angeles, CA','Wednesday','8/7/2024','7:30 PM','6307275','Chris-Brown-8-7-2024'],['Kane Brown, Chris Young, LoCash & Raelynn','T-Mobile Park','Seattle, WA','Friday','8/16/2024','6:30 PM','5948390','Kane-Brown--Chris-Young--LoCash---Raelynn-8-16-2024']],'Chris Brown','http://www.ticketnetwork.com/ticket/Chris-Brown-events.aspx');